﻿using System.Collections.Generic;

namespace Aspire.Mapper
{
    public interface IMap
    {
        TTarget To<TTarget>(object source);

        List<TTarget> To<TTarget>(IList<object> source);

        TTarget To<TSource, TTarget>(TSource source, TTarget target);

        List<TTarget> To<TSource, TTarget>(IList<TSource> source, IList<TTarget> target);
    }
}
